package com.mls.fivedistrict.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WithdrawRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WithdrawRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andWithdrawValueIsNull() {
            addCriterion("withdraw_value is null");
            return (Criteria) this;
        }

        public Criteria andWithdrawValueIsNotNull() {
            addCriterion("withdraw_value is not null");
            return (Criteria) this;
        }

        public Criteria andWithdrawValueEqualTo(BigDecimal value) {
            addCriterion("withdraw_value =", value, "withdrawValue");
            return (Criteria) this;
        }

        public Criteria andWithdrawValueNotEqualTo(BigDecimal value) {
            addCriterion("withdraw_value <>", value, "withdrawValue");
            return (Criteria) this;
        }

        public Criteria andWithdrawValueGreaterThan(BigDecimal value) {
            addCriterion("withdraw_value >", value, "withdrawValue");
            return (Criteria) this;
        }

        public Criteria andWithdrawValueGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("withdraw_value >=", value, "withdrawValue");
            return (Criteria) this;
        }

        public Criteria andWithdrawValueLessThan(BigDecimal value) {
            addCriterion("withdraw_value <", value, "withdrawValue");
            return (Criteria) this;
        }

        public Criteria andWithdrawValueLessThanOrEqualTo(BigDecimal value) {
            addCriterion("withdraw_value <=", value, "withdrawValue");
            return (Criteria) this;
        }

        public Criteria andWithdrawValueIn(List<BigDecimal> values) {
            addCriterion("withdraw_value in", values, "withdrawValue");
            return (Criteria) this;
        }

        public Criteria andWithdrawValueNotIn(List<BigDecimal> values) {
            addCriterion("withdraw_value not in", values, "withdrawValue");
            return (Criteria) this;
        }

        public Criteria andWithdrawValueBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("withdraw_value between", value1, value2, "withdrawValue");
            return (Criteria) this;
        }

        public Criteria andWithdrawValueNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("withdraw_value not between", value1, value2, "withdrawValue");
            return (Criteria) this;
        }

        public Criteria andSourceValueIsNull() {
            addCriterion("source_value is null");
            return (Criteria) this;
        }

        public Criteria andSourceValueIsNotNull() {
            addCriterion("source_value is not null");
            return (Criteria) this;
        }

        public Criteria andSourceValueEqualTo(BigDecimal value) {
            addCriterion("source_value =", value, "sourceValue");
            return (Criteria) this;
        }

        public Criteria andSourceValueNotEqualTo(BigDecimal value) {
            addCriterion("source_value <>", value, "sourceValue");
            return (Criteria) this;
        }

        public Criteria andSourceValueGreaterThan(BigDecimal value) {
            addCriterion("source_value >", value, "sourceValue");
            return (Criteria) this;
        }

        public Criteria andSourceValueGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("source_value >=", value, "sourceValue");
            return (Criteria) this;
        }

        public Criteria andSourceValueLessThan(BigDecimal value) {
            addCriterion("source_value <", value, "sourceValue");
            return (Criteria) this;
        }

        public Criteria andSourceValueLessThanOrEqualTo(BigDecimal value) {
            addCriterion("source_value <=", value, "sourceValue");
            return (Criteria) this;
        }

        public Criteria andSourceValueIn(List<BigDecimal> values) {
            addCriterion("source_value in", values, "sourceValue");
            return (Criteria) this;
        }

        public Criteria andSourceValueNotIn(List<BigDecimal> values) {
            addCriterion("source_value not in", values, "sourceValue");
            return (Criteria) this;
        }

        public Criteria andSourceValueBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("source_value between", value1, value2, "sourceValue");
            return (Criteria) this;
        }

        public Criteria andSourceValueNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("source_value not between", value1, value2, "sourceValue");
            return (Criteria) this;
        }

        public Criteria andRecordIdIsNull() {
            addCriterion("record_id is null");
            return (Criteria) this;
        }

        public Criteria andRecordIdIsNotNull() {
            addCriterion("record_id is not null");
            return (Criteria) this;
        }

        public Criteria andRecordIdEqualTo(Long value) {
            addCriterion("record_id =", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdNotEqualTo(Long value) {
            addCriterion("record_id <>", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdGreaterThan(Long value) {
            addCriterion("record_id >", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdGreaterThanOrEqualTo(Long value) {
            addCriterion("record_id >=", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdLessThan(Long value) {
            addCriterion("record_id <", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdLessThanOrEqualTo(Long value) {
            addCriterion("record_id <=", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdIn(List<Long> values) {
            addCriterion("record_id in", values, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdNotIn(List<Long> values) {
            addCriterion("record_id not in", values, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdBetween(Long value1, Long value2) {
            addCriterion("record_id between", value1, value2, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdNotBetween(Long value1, Long value2) {
            addCriterion("record_id not between", value1, value2, "recordId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdIsNull() {
            addCriterion("property_id is null");
            return (Criteria) this;
        }

        public Criteria andPropertyIdIsNotNull() {
            addCriterion("property_id is not null");
            return (Criteria) this;
        }

        public Criteria andPropertyIdEqualTo(Long value) {
            addCriterion("property_id =", value, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdNotEqualTo(Long value) {
            addCriterion("property_id <>", value, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdGreaterThan(Long value) {
            addCriterion("property_id >", value, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdGreaterThanOrEqualTo(Long value) {
            addCriterion("property_id >=", value, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdLessThan(Long value) {
            addCriterion("property_id <", value, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdLessThanOrEqualTo(Long value) {
            addCriterion("property_id <=", value, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdIn(List<Long> values) {
            addCriterion("property_id in", values, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdNotIn(List<Long> values) {
            addCriterion("property_id not in", values, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdBetween(Long value1, Long value2) {
            addCriterion("property_id between", value1, value2, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdNotBetween(Long value1, Long value2) {
            addCriterion("property_id not between", value1, value2, "propertyId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andGUserIdIsNull() {
            addCriterion("g_user_id is null");
            return (Criteria) this;
        }

        public Criteria andGUserIdIsNotNull() {
            addCriterion("g_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andGUserIdEqualTo(Long value) {
            addCriterion("g_user_id =", value, "gUserId");
            return (Criteria) this;
        }

        public Criteria andGUserIdNotEqualTo(Long value) {
            addCriterion("g_user_id <>", value, "gUserId");
            return (Criteria) this;
        }

        public Criteria andGUserIdGreaterThan(Long value) {
            addCriterion("g_user_id >", value, "gUserId");
            return (Criteria) this;
        }

        public Criteria andGUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("g_user_id >=", value, "gUserId");
            return (Criteria) this;
        }

        public Criteria andGUserIdLessThan(Long value) {
            addCriterion("g_user_id <", value, "gUserId");
            return (Criteria) this;
        }

        public Criteria andGUserIdLessThanOrEqualTo(Long value) {
            addCriterion("g_user_id <=", value, "gUserId");
            return (Criteria) this;
        }

        public Criteria andGUserIdIn(List<Long> values) {
            addCriterion("g_user_id in", values, "gUserId");
            return (Criteria) this;
        }

        public Criteria andGUserIdNotIn(List<Long> values) {
            addCriterion("g_user_id not in", values, "gUserId");
            return (Criteria) this;
        }

        public Criteria andGUserIdBetween(Long value1, Long value2) {
            addCriterion("g_user_id between", value1, value2, "gUserId");
            return (Criteria) this;
        }

        public Criteria andGUserIdNotBetween(Long value1, Long value2) {
            addCriterion("g_user_id not between", value1, value2, "gUserId");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Boolean value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Boolean value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Boolean value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Boolean value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Boolean value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Boolean> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Boolean> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Boolean value1, Boolean value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("version is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("version is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(Integer value) {
            addCriterion("version =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(Integer value) {
            addCriterion("version <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(Integer value) {
            addCriterion("version >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
            addCriterion("version >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(Integer value) {
            addCriterion("version <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(Integer value) {
            addCriterion("version <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<Integer> values) {
            addCriterion("version in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<Integer> values) {
            addCriterion("version not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(Integer value1, Integer value2) {
            addCriterion("version between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(Integer value1, Integer value2) {
            addCriterion("version not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andIntegralIdIsNull() {
            addCriterion("integral_id is null");
            return (Criteria) this;
        }

        public Criteria andIntegralIdIsNotNull() {
            addCriterion("integral_id is not null");
            return (Criteria) this;
        }

        public Criteria andIntegralIdEqualTo(Long value) {
            addCriterion("integral_id =", value, "integralId");
            return (Criteria) this;
        }

        public Criteria andIntegralIdNotEqualTo(Long value) {
            addCriterion("integral_id <>", value, "integralId");
            return (Criteria) this;
        }

        public Criteria andIntegralIdGreaterThan(Long value) {
            addCriterion("integral_id >", value, "integralId");
            return (Criteria) this;
        }

        public Criteria andIntegralIdGreaterThanOrEqualTo(Long value) {
            addCriterion("integral_id >=", value, "integralId");
            return (Criteria) this;
        }

        public Criteria andIntegralIdLessThan(Long value) {
            addCriterion("integral_id <", value, "integralId");
            return (Criteria) this;
        }

        public Criteria andIntegralIdLessThanOrEqualTo(Long value) {
            addCriterion("integral_id <=", value, "integralId");
            return (Criteria) this;
        }

        public Criteria andIntegralIdIn(List<Long> values) {
            addCriterion("integral_id in", values, "integralId");
            return (Criteria) this;
        }

        public Criteria andIntegralIdNotIn(List<Long> values) {
            addCriterion("integral_id not in", values, "integralId");
            return (Criteria) this;
        }

        public Criteria andIntegralIdBetween(Long value1, Long value2) {
            addCriterion("integral_id between", value1, value2, "integralId");
            return (Criteria) this;
        }

        public Criteria andIntegralIdNotBetween(Long value1, Long value2) {
            addCriterion("integral_id not between", value1, value2, "integralId");
            return (Criteria) this;
        }

        public Criteria andIntegralNameIsNull() {
            addCriterion("integral_name is null");
            return (Criteria) this;
        }

        public Criteria andIntegralNameIsNotNull() {
            addCriterion("integral_name is not null");
            return (Criteria) this;
        }

        public Criteria andIntegralNameEqualTo(String value) {
            addCriterion("integral_name =", value, "integralName");
            return (Criteria) this;
        }

        public Criteria andIntegralNameNotEqualTo(String value) {
            addCriterion("integral_name <>", value, "integralName");
            return (Criteria) this;
        }

        public Criteria andIntegralNameGreaterThan(String value) {
            addCriterion("integral_name >", value, "integralName");
            return (Criteria) this;
        }

        public Criteria andIntegralNameGreaterThanOrEqualTo(String value) {
            addCriterion("integral_name >=", value, "integralName");
            return (Criteria) this;
        }

        public Criteria andIntegralNameLessThan(String value) {
            addCriterion("integral_name <", value, "integralName");
            return (Criteria) this;
        }

        public Criteria andIntegralNameLessThanOrEqualTo(String value) {
            addCriterion("integral_name <=", value, "integralName");
            return (Criteria) this;
        }

        public Criteria andIntegralNameLike(String value) {
            addCriterion("integral_name like", value, "integralName");
            return (Criteria) this;
        }

        public Criteria andIntegralNameNotLike(String value) {
            addCriterion("integral_name not like", value, "integralName");
            return (Criteria) this;
        }

        public Criteria andIntegralNameIn(List<String> values) {
            addCriterion("integral_name in", values, "integralName");
            return (Criteria) this;
        }

        public Criteria andIntegralNameNotIn(List<String> values) {
            addCriterion("integral_name not in", values, "integralName");
            return (Criteria) this;
        }

        public Criteria andIntegralNameBetween(String value1, String value2) {
            addCriterion("integral_name between", value1, value2, "integralName");
            return (Criteria) this;
        }

        public Criteria andIntegralNameNotBetween(String value1, String value2) {
            addCriterion("integral_name not between", value1, value2, "integralName");
            return (Criteria) this;
        }

        public Criteria andFailCauseIsNull() {
            addCriterion("fail_cause is null");
            return (Criteria) this;
        }

        public Criteria andFailCauseIsNotNull() {
            addCriterion("fail_cause is not null");
            return (Criteria) this;
        }

        public Criteria andFailCauseEqualTo(String value) {
            addCriterion("fail_cause =", value, "failCause");
            return (Criteria) this;
        }

        public Criteria andFailCauseNotEqualTo(String value) {
            addCriterion("fail_cause <>", value, "failCause");
            return (Criteria) this;
        }

        public Criteria andFailCauseGreaterThan(String value) {
            addCriterion("fail_cause >", value, "failCause");
            return (Criteria) this;
        }

        public Criteria andFailCauseGreaterThanOrEqualTo(String value) {
            addCriterion("fail_cause >=", value, "failCause");
            return (Criteria) this;
        }

        public Criteria andFailCauseLessThan(String value) {
            addCriterion("fail_cause <", value, "failCause");
            return (Criteria) this;
        }

        public Criteria andFailCauseLessThanOrEqualTo(String value) {
            addCriterion("fail_cause <=", value, "failCause");
            return (Criteria) this;
        }

        public Criteria andFailCauseLike(String value) {
            addCriterion("fail_cause like", value, "failCause");
            return (Criteria) this;
        }

        public Criteria andFailCauseNotLike(String value) {
            addCriterion("fail_cause not like", value, "failCause");
            return (Criteria) this;
        }

        public Criteria andFailCauseIn(List<String> values) {
            addCriterion("fail_cause in", values, "failCause");
            return (Criteria) this;
        }

        public Criteria andFailCauseNotIn(List<String> values) {
            addCriterion("fail_cause not in", values, "failCause");
            return (Criteria) this;
        }

        public Criteria andFailCauseBetween(String value1, String value2) {
            addCriterion("fail_cause between", value1, value2, "failCause");
            return (Criteria) this;
        }

        public Criteria andFailCauseNotBetween(String value1, String value2) {
            addCriterion("fail_cause not between", value1, value2, "failCause");
            return (Criteria) this;
        }

        public Criteria andServiceChargeIsNull() {
            addCriterion("service_charge is null");
            return (Criteria) this;
        }

        public Criteria andServiceChargeIsNotNull() {
            addCriterion("service_charge is not null");
            return (Criteria) this;
        }

        public Criteria andServiceChargeEqualTo(Double value) {
            addCriterion("service_charge =", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeNotEqualTo(Double value) {
            addCriterion("service_charge <>", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeGreaterThan(Double value) {
            addCriterion("service_charge >", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeGreaterThanOrEqualTo(Double value) {
            addCriterion("service_charge >=", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeLessThan(Double value) {
            addCriterion("service_charge <", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeLessThanOrEqualTo(Double value) {
            addCriterion("service_charge <=", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeIn(List<Double> values) {
            addCriterion("service_charge in", values, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeNotIn(List<Double> values) {
            addCriterion("service_charge not in", values, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeBetween(Double value1, Double value2) {
            addCriterion("service_charge between", value1, value2, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeNotBetween(Double value1, Double value2) {
            addCriterion("service_charge not between", value1, value2, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeTotalIsNull() {
            addCriterion("service_charge_total is null");
            return (Criteria) this;
        }

        public Criteria andServiceChargeTotalIsNotNull() {
            addCriterion("service_charge_total is not null");
            return (Criteria) this;
        }

        public Criteria andServiceChargeTotalEqualTo(BigDecimal value) {
            addCriterion("service_charge_total =", value, "serviceChargeTotal");
            return (Criteria) this;
        }

        public Criteria andServiceChargeTotalNotEqualTo(BigDecimal value) {
            addCriterion("service_charge_total <>", value, "serviceChargeTotal");
            return (Criteria) this;
        }

        public Criteria andServiceChargeTotalGreaterThan(BigDecimal value) {
            addCriterion("service_charge_total >", value, "serviceChargeTotal");
            return (Criteria) this;
        }

        public Criteria andServiceChargeTotalGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("service_charge_total >=", value, "serviceChargeTotal");
            return (Criteria) this;
        }

        public Criteria andServiceChargeTotalLessThan(BigDecimal value) {
            addCriterion("service_charge_total <", value, "serviceChargeTotal");
            return (Criteria) this;
        }

        public Criteria andServiceChargeTotalLessThanOrEqualTo(BigDecimal value) {
            addCriterion("service_charge_total <=", value, "serviceChargeTotal");
            return (Criteria) this;
        }

        public Criteria andServiceChargeTotalIn(List<BigDecimal> values) {
            addCriterion("service_charge_total in", values, "serviceChargeTotal");
            return (Criteria) this;
        }

        public Criteria andServiceChargeTotalNotIn(List<BigDecimal> values) {
            addCriterion("service_charge_total not in", values, "serviceChargeTotal");
            return (Criteria) this;
        }

        public Criteria andServiceChargeTotalBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("service_charge_total between", value1, value2, "serviceChargeTotal");
            return (Criteria) this;
        }

        public Criteria andServiceChargeTotalNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("service_charge_total not between", value1, value2, "serviceChargeTotal");
            return (Criteria) this;
        }

        public Criteria andGIntegralIdIsNull() {
            addCriterion("g_integral_id is null");
            return (Criteria) this;
        }

        public Criteria andGIntegralIdIsNotNull() {
            addCriterion("g_integral_id is not null");
            return (Criteria) this;
        }

        public Criteria andGIntegralIdEqualTo(Long value) {
            addCriterion("g_integral_id =", value, "gIntegralId");
            return (Criteria) this;
        }

        public Criteria andGIntegralIdNotEqualTo(Long value) {
            addCriterion("g_integral_id <>", value, "gIntegralId");
            return (Criteria) this;
        }

        public Criteria andGIntegralIdGreaterThan(Long value) {
            addCriterion("g_integral_id >", value, "gIntegralId");
            return (Criteria) this;
        }

        public Criteria andGIntegralIdGreaterThanOrEqualTo(Long value) {
            addCriterion("g_integral_id >=", value, "gIntegralId");
            return (Criteria) this;
        }

        public Criteria andGIntegralIdLessThan(Long value) {
            addCriterion("g_integral_id <", value, "gIntegralId");
            return (Criteria) this;
        }

        public Criteria andGIntegralIdLessThanOrEqualTo(Long value) {
            addCriterion("g_integral_id <=", value, "gIntegralId");
            return (Criteria) this;
        }

        public Criteria andGIntegralIdIn(List<Long> values) {
            addCriterion("g_integral_id in", values, "gIntegralId");
            return (Criteria) this;
        }

        public Criteria andGIntegralIdNotIn(List<Long> values) {
            addCriterion("g_integral_id not in", values, "gIntegralId");
            return (Criteria) this;
        }

        public Criteria andGIntegralIdBetween(Long value1, Long value2) {
            addCriterion("g_integral_id between", value1, value2, "gIntegralId");
            return (Criteria) this;
        }

        public Criteria andGIntegralIdNotBetween(Long value1, Long value2) {
            addCriterion("g_integral_id not between", value1, value2, "gIntegralId");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}